/*suites inner page 3 columns on tablet fix*/
@media screen and (min-width: 536px) and (max-width: 1024px) {
    .room-one-section.style-two .room-one-info-two {
        width: 100% !important;
        height: 300px;
    }
    
    .room-one-section.style-two .room-one-info-two li {
        width: 30%;
        flex: 0;
    }
}    

::-moz-selection { /* Code for Firefox */
     background: yellow;
}

::selection {
     background: yellow;
}
.terms-conditions {
    padding-top: 120px;
}

section.testimonials-one-section .testimonial-one-slider .owl-nav {
    display: block!important; /* Hide navigation */
    position: absolute;

    top: -120px;
    right: 180px;
}

.owl-nav button {
    font-size: 42px;
}

.testimonials-one-section .owl-nav button.owl-prev:hover,
.testimonials-one-section .owl-nav button.owl-next:hover {
    color: var(--theme-color);
}


/*.testimonials-one-section .owl-nav button.owl-prev::after {*/
/*    content: '/';*/
/*    font-family: 'Font Awesome 5 Pro';*/
/*    position: absolute;*/
/*    left: 40px;*/
/*    top: 80%;*/
/*    transform: translate(-50%, -50%);*/
/*    font-size: 55px;*/
/*    color: rgb(212, 212, 212);*/
/*    z-index: 999;*/
/*}*/

.testimonials-one-section .owl-nav button.owl-prev:before {
    content: "\f104";
}
.testimonials-one-section .owl-nav button.owl-next:after {
    content: "\f105";
}


.testimonials-one-section .owl-nav button.owl-prev,
.testimonials-one-section .owl-nav button.owl-next {
    font-family: 'Font Awesome 5 Pro';
    color: rgb(212, 212, 212);
    font-size: 38px;
    border-radius: 5px; 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 999; 
}

.testimonials-one-section .owl-nav button.owl-prev {
    left: 0px;
}

.testimonials-one-section .owl-nav button.owl-next {
    right: -80px;
}

.title-box.text-center {
    padding-bottom: 40px;
}

@media screen and (max-width: 920px) {
    section.testimonials-one-section .testimonial-one-slider .owl-nav {
        top: -50px;
        right: 60%;
    }
}

/* Button styles */
a.custom-button {
    font-weight: 400;
    font-family: "Cormorant Garamond", sans-serif;
    text-transform: uppercase;
    background: #ab8a62;
    color: #fff;
    padding: 10px 20px;
    margin: 0;
    position: relative;
    font-size: 15px;
    letter-spacing: 3px;
    text-decoration: none; 
    display: inline-block;
}

a.custom-button:hover {
    color: #ffffff;
    background: #000000;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}


/*contact page agree checkbox*/
#consent-label {
    display: inline;
    font-size: 16px;
    color: #1c1c1c;
    font-weight: 700;
    font-family: "Cormorant Garamond";
    margin-bottom: 11px;
}

.col-lg-12.col-md-12.col-sm-12.form-group span a {
    color: #689AA8;
}

/*terms and conditons page styles*/
.terms-conditions .section-title {
    font-size: 48px;
    color: #1c1c1c;
    font-weight: 700;
    font-family: "Cormorant Garamond";
    margin-bottom: 15px;
    white-space:nowrap;
    letter-spacing: 1px; 
}

.terms-conditions p {
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 30px;
    color: #777777;
    font-weight: 400;
    font-family: "Open Sans";
    margin-bottom: 30px;
}

/*suites inner page fix the height of the cards*/
.news-one-block-custom {
    height: 280px!important;
    position: relative;
    margin-bottom: 30px;
    background: #fff;
}

p.copy {
    margin-bottom: 0;
}
/*submit button in get in touch page should */
.form-group.col-md-12:last-of-type {
    margin-top: 15px;   
}
/*get in touch page change link color*/
.contact-form-one-desc .read-more-link {
    color: #689AAB;
}
/*fix li marker on suites inner page*/
.room-one-section.style-two .room-one-info-two li::marker {
    margin-left: 35px; 
}
/*fix logo footer dimensions*/
.main-footer .image img {
    width: 180px;
}
/*NewsOnePlaylist on the beach page make the cards have the same height*/
.service-two-block-desc {
    min-height: 80px;
}
/*fix inner pages background image width*/
.page-title-one.style-two img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*fix homepage sections paddings */
.video-section,
.service-two-section {
    padding: 120px 0 120px 0;
    margin-top: 0;
}

/*create space - padding for the playlist below home slider as booking form interferes with it */
.about-one-section.style-three {
    padding-top: 200px;
}

/*beach page links color*/
a.reader-more-link {
    color: #689AA8;
}

a.reader-more-link:hover {
    color: #689AA8;
}

/*suites inner page fix the gallery cards to have the same height */
/*.news-one-image .img_hover_3 {*/
/*    height: 219px;*/
/*}*/
@media screen and (max-width: 1280px) {
    .news-one-section.mx-70 h4.news-one-title {
        min-height: 70px;
    }
}

/*suites inner page align correctly the bullets with the title */
.room-one-list .row {
    margin: 0 0 15px 0;
}

.room-one-title-two {
    margin-left: 0;
}
/*suites buttons*/
.room-two-link-btn a {
    border-bottom: 2px solid #689AA8;
}

.room-two-link-btn a span {
    background-color: #689AA8;
}

/*suites and generally inner pages change color of header texts */
.page-title-one-content .page-title,
.page-title-one-content .page-title-one-desc {
    color: #fff;
}

/*homepage in the footer change the background color of the social icons */
.contact-widget-social-links ul li a:hover {
    background: #C69E63;
}

.widget-content li a:hover {
    color: #C69E63;
}

/*homepage playlist ServicesTwoPlaylist change the color of the buttons*/
.service-two-title-block-link-btn .btn-one.s-two {
    background: #689AA8;
}

.service-two-block-link-btn a.service-two-block-read-more-link {
    color:  #689AA8;
}

/*homepage playlist AboutUsOneStyleThreePlaylist make the heights of cards equal*/
.service-two-title-block {
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.service-two-block-inner-box {
        height: 500px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
}

.service-two-block.img_hover_3 {
    height: 600px;
}
.main-menu .navigation > li.current > a,
.main-menu .navigation > li > a:hover { 
    color: #689AAB;
}

.main-header .header-upper .link-btn a {
    border-bottom: 2px solid #689AAB;
}

.main-header .header-upper .link-btn a span {
    background-color: #689AAB;
}

.main-header .header-upper .link-btn {
    
}
/*Backbone Logo*/
.name-company {
    font-size: 20px;
    font-weight: 500;

    text-align: center;

    /*color: #2b2b2b;*/
}

.bb-img-mm {
    margin-left: 3px;
    margin-right: 3px;
}
.bb-img-mm img { 
    margin-top: -4px;    
}

.hyperlink .container .name-company {
    margin-top: 15px;
}

p.copy {
    line-height: 30px;
    color: #ffffff;
}

/*Rest of the fixes*/
h2.video-one-title span{
    color: var(--theme-color);
}

/*For the amenities inner page On the Beach*/
ul.room-one-info-two {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 230px;
    min-width: 800px;
   
}

ul.room-one-info-two > li {
    flex: 1;
    list-style: initial!important;
}

.news-one-title {
    text-align: center;
} 

.read-more {
    text-align: center;
}

.services-one-title {
    text-align: center;
    color: black;
    font-size: 40px;
    font-weight: 700;
    /*overflow: visible;*/
    margin-bottom: 120px;
}

/*book now button on the homepage*/
.main-header .header-upper .navbar-right {
    margin-left: 33.5px;
}

/*secondary title on gallry on about page reduce font size as it wraps original class: sec-title*/
.sec-title-gallery {
    font-size: 45px!important;
    margin-bottom: 50px;
    position: relative;
    font-size: 48px;
    line-height: 1.2em;
    color: #1c1c1c;
    font-weight: 700;
}

.gallery-one-section .auto-container .row .col-lg-8 {
    display: flex;
    justify-content: end;
}

/*fix suites inner page bullet points*/
ul.room-one-info-two {
    margin-left: 5px;
}
/*.gallery-one-view-all-btn {*/
/*    justify-content: end;*/
/*}*/
/*.service-two-section {*/
/*    margin-top: 20px;*/
/*}*/

/*div.row > div.col-lg-6.col-md-6:nth-child(3),*/
/*div.row > div.col-lg-6.col-md-6:nth-child(4) {*/
/*      margin-top: 20px;    */
/*}*/

/*For small and medium devices I tink it suits better to have margin on all boxes*/
/*@media only screen and (max-width: 1199px) {*/
/*    div.row > div.col-lg-6.col-md-6 {*/
/*        margin-top: 20px;*/
/*    }*/
/*}*/

.backbone-logo,
.expresia-logo {
    width: 80px;
}

.footer-text-1, .footer-text-2 {
    padding: 0 8px;
}

.booking-form-section .nice-select span.current {
    font-size: 35px;
    font-weight: 500;
}

.booking-form-section .room-opt {
    margin-top: 15px;
}

@media only screen and (max-width: 576px) {
    .footer-text-1, .footer-text-2 {
        padding: 0px 5px;
        font-size: 15px;
    }
     
    .hyperlink .container .name-company {
        margin-top: 0px;
        margin-bottom: 0px;
        overflow: hidden;
        white-space: nowrap;
    }
    
    .backbone-logo,
    .expresia-logo {
        height: 115px;
        width: 115px;
    }
    
    .footer-widgets-section {
         position: relative;
        padding-bottom: 0px;
    }
    
    .scroll-to-top {
        bottom: 100px;
    }
}

.main-header .header-upper .logo-box .logo img {
    width: 180px;
}

.widget.footer-logo-1 {
    margin-bottom: 40px;
}

.footer-logo-2 {
    width: 180px;
}

.main-footer .terms {
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.main-footer .terms .footer-text-1 {
    width: 100%;
    color: white;
}

.main-footer .text-right {
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*https://www.naxianonthebeach.com/privacy-policy/ overwrite default theme list-style */
.terms-conditions ul li {
    list-style: disc;
}

.terms-conditions a {
    text-decoration: underline;
    cursor: pointer;
    text-underline-offset: 4px;
}

/*showing prev and next buttons on mobile on VideoPlaylist */
@media only screen and (max-width: 576px) {
    .flex-box {
        display: grid;
    }
    .video-section .video-one-slider-nav.theme-carousel-btn {
        display: block;
    }
    /*add padding on mobile to the boxes*/
    .service-two-section .col-xl-4 {
        padding-top: 15px;
    }
    .service-two-section .col-xl-8 .col-lg-4 {
        padding-top: 15px;
    }
    /*homepage video paddings on mobile fix*/
    .video-section {
        position: relative;
        padding: 120px 0 0 0;
    }
    /*fix the lineheight of the title on experiences page ServicesOnePlaylist*/
    .services-one-section .services-one-title {
        line-height: 45px;
    }
}

/*Fix for overlay */

.page-title-one-bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0; /* Ensure the overlay is above the background image */
}
.page-title-one-content .page-title, .page-title-one-content .page-title-one-desc {
    color: #ffffff;
}
.banner-section .swiper-slide:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0.3;
    content: "";
}

/*fix for sliders*/
@media screen and (max-width: 1024px) {

    #playlist-151 .owl-dots,
    #playlist-156 .owl-dots,
    #room-carousel .owl-dots {
    display:block;
    text-align: center;
    padding-top: 15px;
}

#playlist-151 .owl-dots button.owl-dot,
#playlist-156 .owl-dots button.owl-dot,
#room-carousel .owl-dots button.owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    background: #ccc;
    margin: 0 3px;
}

#playlist-151 .owl-dots button.owl-dot.active,
#playlist-156 .owl-dots button.owl-dot.active,
#room-carousel .owl-dots button.owl-dot.active {
    background-color: #000;
}

#playlist-151 .owl-dots button.owl-dot:focus,
#playlist-156 .owl-dots button.owl-dot:focus,
#room-carousel .owl-dots button.owl-dot:focus {
    outline: none;
}

}

/*fix for list items*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .room-one-info-two li {
        width: 11em;
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 760px) {
    ul.room-one-info-two {
        display: flex;
        flex-direction: column;
        height: 230px;
        min-width: 800px;
        flex-wrap: nowrap;
    }
    .news-one-section.mx-70{
        margin-top: calc(188px + 120px);
        padding-top: 0px;
        padding-right: 0px;
        padding-bottom: 90px;
        padding-left: 0px;
    }
}

/*fix the heights of the cards on the homepga so as texts not to overlap*/
@media screen and (min-width: 1200px) and (max-width: 1280px) {
    .service-two-section .col-xl-4 {
        height: 700px;
    }
    .service-two-section .service-two-title-block {
        height: 700px;
    }
    .service-two-section .service-two-block.img_hover_3 {
        height: 700px;
    }
    
    .service-two-block-inner-box {
        height: 600px;
    }
}

@media screen and (min-width: 1536px) {
    .owl-carousel .owl-item .news-one-image img {
        width: 100% !important;
        height: 280px;
    }
}


/*FOUC must remain at the bottom of this file or the last css file that we load*/
html {
    visibility: visible;
    opacity: 1;
}

